package com.karaoke.android.kege.fragment


import android.os.Bundle
import android.support.v4.app.Fragment
import android.transition.Explode
import android.transition.Transition
import com.karaoke.android.kege.BR
import com.karaoke.android.kege.R
import com.karaoke.android.kege.vm.BangViewModel
import com.karaoke.android.library.mvvm.BindingConfig


/**
 * A simple [Fragment] subclass.
 */
class BangFragment : BaseFragment<BangViewModel>()
{
    override val viewModel: BangViewModel by lazy { BangViewModel() }

    override val config: BindingConfig by lazy { BindingConfig(R.layout.fragment_bang, BR.viewModel) }
    override fun getEnterTransition(): Transition = Explode().apply { duration = 300 }
    override fun onCreate(savedInstanceState: Bundle?)
    {
        super.onCreate(savedInstanceState)
        title = "榜单"
    }

}// Required empty public constructor
